﻿using WeDonekRpc.Helper.Validate;

namespace Shop.RemoteModel.PageModule.ModuleConfig
{
    public class ImgWallConfig
    {
        /// <summary>
        /// 图片链接
        /// </summary>
        [NullValidate("shop.page.img.src.null")]
        [LenValidate("shop.page.img.src.len", 1, 150)]
        [FormatValidate("shop.page.img.src.error", ValidateFormat.图片URI)]
        public string ImgSrc { get; set; }

        /// <summary>
        /// 图片热点配置
        /// </summary>
        public ImgHostConfig[] HostConfig { get; set; }
    }
}
